function deepCopy(p, c) {
    c = c || {};
    for (var i in p) {
        var own = p.hasOwnProperty(i);
        if (own) {
            if (typeof p[i] === 'object') {
                c[i] = Array.isArray(p[i]) ? [] : {};
                deepCopy(p[i], c[i]);
            } else {
                c[i] = p[i];
            }
        }
    }

    return c;
}

var parent = {
    numbers: [1, 2, 3],
    letters: ['a', 'b', 'c'],
    obj: {
        prop: 1
    },
    name: 'CCC',
    bool: true
}

// var myDee = deepCopy(parent);
// console.log('哟呵');
// console.log(myDee.numbers);